1 00:00:00,720 --> 00:00:13,550 Hello and welcome to this video on Javascript syntax javascript syntax is a set of rules or guidelines 2 00:00:13,770 --> 00:00:18,450 you should implement when writing javascript code. 3 00:00:18,810 --> 00:00:24,390 These rules are in no particular order. 4 00:00:24,390 --> 00:00:30,610 Rule number one javascript is case sensitive. 5 00:00:31,410 --> 00:00:43,570 For example food with uppercase F and food with all known case are not the same. 6 00:00:43,860 --> 00:00:47,480 Rule number two is relevant. 7 00:00:47,490 --> 00:01:03,420 Case in we names year long white case for variable names e.g. my account use case for objets classes 8 00:01:03,600 --> 00:01:08,370 and functions e.g. my account. 9 00:01:08,630 --> 00:01:16,620 In is court come your case because it resembles the hump of a camel. 10 00:01:16,710 --> 00:01:30,510 Use upper case for Constance e.g. my account constans are values that should not change. 11 00:01:30,630 --> 00:01:33,360 Number three. 12 00:01:33,420 --> 00:01:39,210 Semicolons to end statements in G. 13 00:01:39,690 --> 00:01:50,260 Variable front equals upwell States moods are what comprises of javascript code. 14 00:01:50,530 --> 00:01:57,590 So a javascript code can contain one statement or a bunch of statements. 15 00:01:57,600 --> 00:01:59,500 Rule number 4. 16 00:01:59,940 --> 00:02:04,400 Javascript ignores white spaces. 17 00:02:04,950 --> 00:02:13,990 Why spaces are good for the humans it enables them to read code properly. 18 00:02:14,080 --> 00:02:26,790 As examples will work because javascript does not care about white spaces white spaces are characters 19 00:02:27,000 --> 00:02:36,100 in computing that represents horizontal or vertical spaces secrecies some spaces here. 20 00:02:36,120 --> 00:02:43,220 These are horizontal and then basic and these are vertical spaces. 21 00:02:43,470 --> 00:02:44,920 In this video. 22 00:02:44,940 --> 00:02:51,500 Hi covered javascript syntax in the next video. 23 00:02:51,570 --> 00:02:59,350 I will be talking about how to pad javascript to your web pages. 24 00:03:00,210 --> 00:03:04,920 Thank you for taking the time to watch this video.